<?php foreach ($list_detailTag as $row) {$besar_tagihan = formatRupiah($row->besar_bayar);$nama_tagihan = $row->nama_non_sy;}?>
<table class="table table-condensed" id="th_ajaran">
  <thead>
	<tr>
		<th width="30">#</th>
		<th width="80">NIT</th>
		<th>Nama Lengkap</th>
		<th>Jenis Kelamin</th>
		<th>Alamat</th>
		<th>Kelas</th>
	</tr>
  </thead>
  <tbody>
	<?php 
		if(count($list)>0){
			$i = 1; 
			foreach ($list as $row) {
	?>
	<tr class="hover">
		<td><?php echo $i++ ?></td>
		<td><?php echo $row->id_m_tholabah; ?></td> 
		<td><?php echo $row->nama_lengkap; ?></td> 
		<td><?php echo $row->jk; ?></td>
		<td><?php echo $row->alamat; ?></td>
		<td>
			<?php echo $row->kelas; ?>
			<a class="editorLink pull-right" data-reveal-id="delModal" nama="<?php echo $row->nama_lengkap; ?>" 2nd="<?php echo $nama_tagihan;?>" 3rd="<?php echo $besar_tagihan;?>" hpid="<?php echo $row->id_b_non_sy;?>" data-reveal><span class="glyphicon glyphicon-floppy-remove"></span></a>
		</td>
	</tr>
	<?php
			}
		}else{
	?>
	<tr>
		<td colspan="6"><center>Belum ada tholabah <?php echo $jenjang;?> dibebani tagihan <?php echo $nama_non_sy;?></center></td>
	</tr>
	<?php
		}
	?>
  </tbody>
</table>